<template>
  <div class="stop-test">
    <!-- <Card :title="title" :image="image" @click="handleClick"></Card> -->
    <Button type="info" @click="handleClick" size="small">{{ title }}</Button>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import Card from '@/components/card';
import { Button } from 'vant';
import eventBus, { eventNames } from '@/utils/event-bus';

@Component({
  name: 'StopTest',
  components: {
    Card,
    Button,
  }
})
export default class StopTest extends Vue {
  private title = '停止测试';

  handleClick() {
    this.$emit('on-click');
  }
}
</script>
